package com.ssy.lingxi.platform.manage.api.hystrix.inner;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.manage.api.feign.inner.AreaControllerFeign;
import com.ssy.lingxi.platform.manage.api.model.vo.area.AreaVO;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class AreaControllerFeignFallback implements AreaControllerFeign {

    @Override
    public Wrapper<List<String>> findCityCodeByProvinceCode(List<String> provinceCodes) {
        return Wrapper.failService("服务调用异常");
    }

    @Override
    public Wrapper<List<AreaVO>> areaList() {
        return Wrapper.failService("服务调用异常");
    }
}
